import org.xml.sax.SAXException;
import pojo.WSConstants;
import pojo.XmlDao;

import javax.xml.parsers.ParserConfigurationException;
import java.io.IOException;


public class Demo502Test {
	
    public static void main(String[] args) throws IOException, SAXException, ParserConfigurationException {

    	
    	
    	
    	financeXmlTest(); // 财务费用  ZFII069
    	

    	
    }
    

    
    // 财务科目费用
    public static void financeXmlTest() {

    	String startDate = "20220601";
    	String endDate = "20220920";
    	String requestParam = WSConstants.constructRequestParam(startDate, endDate);
    	System.out.println("请求参数: " + requestParam);
    	XmlDao xmlDao = new XmlDao();
		String financeCostXmlData = xmlDao.retrieveData("SHSZH", "INT_ SHSZH001", requestParam, null, null);

		System.out.println("已获取返回值！开始解析内容！");

		System.out.println(financeCostXmlData);


    }


    
}
